from django.contrib import admin

from .models import User


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ('id', 'username', 'name', 'sex', 'phone', 'id_card')
    search_fields = ('name', 'username', 'id_card')
